package com.lzj.entity;

/**
 * <p>
 *
 * </p>
 *
 * @autor:lzj
 * @date:2021/12/3
 */
public class UserInfomation {//用户信息
    private int id;
    private String username;
    private String phoneNumber;
    private String address;
    private int userId;

    public UserInfomation() {
    }

    public UserInfomation(String username, int userId) {
        this.username = username;
        this.userId = userId;
    }

    public UserInfomation(String phoneNumber, String address, int userId) {
        this.phoneNumber = phoneNumber;
        this.address = address;
        this.userId = userId;
    }

    public UserInfomation(int id, String username, String phoneNumber, String address, int userId) {
        this.id = id;
        this.username = username;
        this.phoneNumber = phoneNumber;
        this.address = address;
        this.userId = userId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "UserInfomation{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", address='" + address + '\'' +
                ", userId=" + userId +
                '}';
    }
}
